.once-table-div {
    font-size: 12px;
    position: relative;
    overflow-x: hidden;
}

.once-table-div * {
    box-sizing: initial;
}

/* 排序图标 Begin */
.once-table-div .icon-order-asc, .once-table-div .icon-order-desc, .once-table-div .icon-order-hover {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    width: 9px;
    height: 7px;
    background: url(/public/static/plugin/grid/img/icon-table-arrow.png);
    line-height: 0;
    font-size: 0;
    margin: 0 2px;
    padding: 0;
}

.once-table-div .icon-order-hover {
    background-image: none;
}

.once-table-div thead th.order.enable:hover .icon-order-hover {
    background: url(/public/static/plugin/grid/img/icon-table-arrow.png) 0px 0px;
    height: 14px;
}

.once-table-div .icon-order-asc {
    background-position:0 0;
}
.once-table-div .icon-order-desc {
    background-position:0 -7px;
}
/* 排序图标 Begin */

/* table 样式 */

.once-table-div .once-table{
    clear:both;
    margin:auto;
    width:100%;
    border:1px solid #d6d6d6;
    border-collapse:collapse;

}

.once-table tr.hover td{
    background: #eeeeee;
}

.once-table tr.fixHover td{
    background: #d6d6d6;
}

.once-table tr:nth-child(even),.fix_column_table tr:nth-child(even) {
    background: #f3f4f5;
}
.once-table tr:nth-child(odd),.fix_column_table tr:nth-child(odd) {
    background: #ffffff;
}

.once-table th{
    text-align:center;
    border:1px solid #dfdfdf;
    padding: 6px 10px;
    background:#f3f4f5;
    height: 22px;
    line-height: 22px;
}
.once-table td{
    border:1px solid #dfdfdf;
    padding: 6px 8px;
}
.once-table td.total, .once-table tr.hover td.total{
    background: rgba(100, 65, 165, 0.1);
}
.once-table th.top_th a{
    float:left;
    overflow:hidden;
    width:40px;
}
.once-table th.top_th{
    line-height:31px;
    height:31px;
    padding:0;
}

.once-table th.order.enable {
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.once-fix-header-div {
    position: fixed;
}

.once-table-div .once-main-table-div{
    overflow-x: auto;
}

/*分页样式*/

.once-page {
    margin: 10px 0;
    height: 34px;
    line-height: 34px;
}

.once-page p span{
    text-decoration:underline;
}
.once-page ul{
    float:right;
    margin: 0;
}
.once-page p{
    padding:3px;
    margin: 0;
}
.once-page ul li{
    list-style: none;
    float:left;
    padding:3px;
}
.once-page ul li a {
    display:block;
    padding:4px 6px;
    height: 18px;
    line-height: 18px;
    text-decoration: none;
    border:1px solid #e1e2e3;
    color:#000;
    text-align: center;
}
.once-page ul li a.pg_selected{
    color:#fff;
    border:1px solid #245b8e;
    background:#417eb7;
}
.once-page a.pg_next,.once-page .pg_index,.once-page .pg_last{
    border:none;
    background:none;
    line-height:19px;
    _line-height:17px;
}

.once-page ul li a.top_current_page {
    background: #333;
    border-color: #333;
    color: #fff;
}
